package com.platform.service;

import com.github.pagehelper.PageInfo;
import com.platform.common.ServerResponse;
import com.platform.pojo.Permission;

import java.util.Map;

public interface IPermissionService {

    ServerResponse<String> insert(Map paramMap);

    ServerResponse<String> del(int id);

    ServerResponse<Permission> update(Map paramMap);

    ServerResponse<PageInfo> selectByRoleCode(Map param);

    ServerResponse<PageInfo> selectByParam(Map param);
}
